package cn.wildfirechat.model.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class OrderDetailS {
    /**
     * addressInfo : 虎头山
     * cancel : 0
     * city : 茂名
     * createTime : 2020-09-16 17:14:45
     * diffPayDate : 2020-09-18 14:25:19
     * diffPrice : 30000
     * diffPricePayChannel : 2
     * diffPricePayChannelInfoId : 2
     * district : 电白
     * failTradeDes :
     * finishDate : null
     * freightPrice : 0
     * goodsPayChannel : 2
     * goodsPayChannelInfoId : 1
     * goodsPayDate : 2020-09-17 14:23:16
     * goodsTotalPrice : 1000000
     * leaveMsg : 送个漂亮妹子8
     * orderId : 8
     * orderItemList : [{"buyCount":3,"goodsId":3,"goodsLogo":"/fs/2020/09/17/11/00e4941ab71f4d72bb68dabcabcd8bf7.jpg","goodsName":"苹果铝材","orderId":8,"orderItemId":15,"totalAmount":7197,"unitPrice":2399},{"buyCount":2,"goodsId":4,"goodsLogo":"/fs/2020/09/17/11/dfdd68de86ec438fb37e4059cd16c415.jpg","goodsName":"柳州钢材","orderId":8,"orderItemId":16,"totalAmount":13332,"unitPrice":6666}]
     * orderNo : 2020091617120000
     * orderStage : 8
     * payableAmount : 1000000
     * province : 广东
     * selfPick : 0
     * shopId : 1
     * shopName : 黑沙水泥
     * transportChannel :
     * transportChannelNo :
     * userId : 100000001
     */



    public String shopUserId;;
    public String shopNickName;;;
    public long afterSaleSurplusSeconds;
    public String addressInfo;
    public int cancel;
    public String city;
    public String createTime;
    public String diffPayDate;
    public int diffPrice;
    public int diffPricePayChannel;
    public int diffPricePayChannelInfoId;
    public String district;
    public String failTradeDes;
    public Object finishDate;
    public int freightPrice;
    public int goodsPayChannel;
    public int goodsPayChannelInfoId;
    public String goodsPayDate;
    public int goodsTotalPrice;
    public String leaveMsg;
    public int orderId;
    public String orderNo;
    public int orderStage;
    public int payableAmount;
    public String province;
    public int selfPick;
    public String selfPickCode;
    public int shopId;
    public String shopLogo;
    public String shopName;
    public String shopPhone;
    public String transportChannel;
    public String transportChannelNo;
    public String receiverName;
    public String receiverPhone;
    public int userId;

    public int invalid;

    public long orderSurplusSeconds;

    public List<OrderItemListBean> orderItemList;
    /**
     * selfPickAddress : {"addressInfo":"string","city":"string","district":"string","latitude":"string","longitude":"string","province":"string","receiverName":"string","receiverPhone":"string","selfPick":0}
     */

    public SelfPickAddressBean selfPickAddress;

    public static class OrderItemListBean {
        /**
         * buyCount : 3
         * goodsId : 3
         * goodsLogo : /fs/2020/09/17/11/00e4941ab71f4d72bb68dabcabcd8bf7.jpg
         * goodsName : 苹果铝材
         * orderId : 8
         * orderItemId : 15
         * totalAmount : 7197
         * unitPrice : 2399
         */

        public int buyCount;
        public int goodsId;
        public String goodsLogo;
        public String goodsName;
        public int orderId;
        public int orderItemId;
        public int totalAmount;
        public int unitPrice;

        /**
         * 发布评论
         */
//        public int goodsId;
//        public int orderItemId;
        public String comment;
        public int goodsScore;
        public String relatePic = "";
    }

    public static class SelfPickAddressBean {
        /**
         * addressInfo : string
         * city : string
         * district : string
         * latitude : string
         * longitude : string
         * province : string
         * receiverName : string
         * receiverPhone : string
         * selfPick : 0
         */

        @SerializedName("addressInfo")
        public String addressInfoX;
        @SerializedName("city")
        public String cityX;
        @SerializedName("district")
        public String districtX;
        public String latitude;
        public String longitude;
        @SerializedName("province")
        public String provinceX;
        @SerializedName("receiverName")
        public String receiverNameX;
        @SerializedName("receiverPhone")
        public String receiverPhoneX;
        @SerializedName("selfPick")
        public String selfPickX;
    }

}
